package com.yang.controller;

import com.yang.annotation.Api;
import com.yang.annotation.ApiMapping;
import com.yang.annotation.ApiParam;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description: 活动控制层
 * @author: Yang Qiang
 * @create: 2021-11-11 21:40
 */
@Service
@Api("/api/yang")
public class ActivityController {

    @ApiMapping(value = "/get/act", method = "apiTest", memo = "查询活动信息的接口")
    public Map<String, Object> apiTest(@ApiParam("userId") String userId, @ApiParam("actId") String actId){

        Map<String, Object> resultMap = new HashMap<>();
        resultMap.put("info", "网关成功调用");
        return resultMap;
    }
}
